-- GENERATED SPELL FOR [Duros] --


function spell0_12122(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_12122', 616, 1)
end

function Sorts_12122(pUnit, Event)
local choix_sorts_12122 = math.random(0, 0)
if choix_sorts_12122 == 0 then
pUnit:RegisterEvent('spell0_12122', 1, 1)
end
end

function mob12122_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12122', math.random(1500, 3000), 1)
end

function mob12122_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12122_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12122_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12122, 1, 'mob12122_Action')
RegisterUnitEvent(12122, 2, 'mob12122_Leave')
RegisterUnitEvent(12122, 3, 'mob12122_Kill')
RegisterUnitEvent(12122, 4, 'mob12122_Die')
